<template>
	<view>
		<uni-card v-for="item in xin" title="投诉" :extra="item.createTime">
			<view>{{item.description}}</view>
		</uni-card>
		
		<view class="" style="height: 20vh;">
			
		</view>
		<view style="position: absolute;bottom: 0%;right:0%;left: 0%;padding: 20rpx;">
			<button type="primary" @click="CD">新增</button>
		</view>
	</view>
</template>

<script>
	import api from 'commer/apiURL.js'
	export default {
		data() {
			return {
				base:api.baseurl,
				xin:""
			}
		},
		onShow(){
			this.getuser()
		},
		methods: {
			CD(){
				uni.navigateTo({
					url:'./addT'
				})
			},
			getuser(){
				this.$get(this.base+'/prod-api/api/logistics-inquiry/logistics_complaint/my-list').then((res)=>{
					this.xin = res.rows
				})
			}
		}
	}
</script>

<style>

</style>
